package com.mxnet.chongjin.supoman.bean;

/**
 * author: Administrator
 * email: lcj270018655@163.com
 * date: 2018/5/8
 */

public class ConfigGuide {
    public int imgUrl;
    public String operate;

    public ConfigGuide(int imgUrl, String operate) {
        this.imgUrl = imgUrl;
        this.operate = operate;
    }

    public int getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(int imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getOperate() {
        return operate;
    }

    public void setOperate(String operate) {
        this.operate = operate;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o)
            return true;
        if (o == null || getClass() != o.getClass())
            return false;

        ConfigGuide that = (ConfigGuide) o;

        if (imgUrl != that.imgUrl)
            return false;
        return operate != null ? operate.equals(that.operate) : that.operate == null;
    }

    @Override
    public int hashCode() {
        int result = imgUrl;
        result = 31 * result + (operate != null ? operate.hashCode() : 0);
        return result;
    }

    @Override
    public String toString() {
        return "ConfigGuide{" +
                "imgUrl='" + imgUrl + '\'' +
                ", operate='" + operate + '\'' +
                '}';
    }
}
